body{
    width: 100vw;
    height: 100vh;
}
.content{
    position: relative;
    top: 800px;
    left: 0;
    width: 1500px;
    height: 100px;
    margin: 0 auto;
}
.content label{
    display: inline-block;
    width: 200px;
    height: 100px;
    overflow: hidden;
    margin: 0 42px;
    border: 6px solid #cccccc;
}
.content label img{
    width: 100%;
    height: 100%;
}
input{
    display: none;
}
.showbox{
    position: absolute;
    top: -700px;
    left: 233px;
    width: 1000px;
    height: 500px;
}
.showbox img{
    width: 100%;
    height: 100%;
    position:absolute;
    top:0;
    left:0;
    opacity: 0;
}

#img1:checked~.showbox .showbox1{
    animation: myfist 1s forwards;
    transition: all 1s;
}
#img2:checked~.showbox .showbox2{
    animation: myfist 1s forwards;
    transition: all 1s;
}
#img3:checked~.showbox .showbox3{
    animation: myfist 1s forwards;
    transition: all 1s;
}
#img4:checked~.showbox .showbox4{
    animation: myfist 1s forwards;
    transition: all 1s;
}
#img5:checked~.showbox .showbox5{
    animation: myfist 1s forwards;
    transition: all 1s;
}

#img1:checked+label{
    border: 6px solid gray;
    transition: all 1s;
}
#img2:checked+label{
    border: 6px solid gray;
    transition: all 1s;
}
#img3:checked+label{
    border: 6px solid gray;
    transition: all 1s;
}
#img4:checked+label{
    border: 6px solid gray;
    transition: all 1s;
}
#img5:checked+label{
    border: 6px solid gray;
    transition: all 1s;
}


@keyframes myfist {
    0%{
        transform: scale(1.5);
        opacity: 0;
    }
    100%{
        transform: scale(1.2);
        opacity: 1;
    }
}